package com.cyz.common.mapper;

import com.cyz.common.bean.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 34928
* @description 针对表【menu(菜单权限表)】的数据库操作Mapper
* @createDate 2023-02-22 11:39:30
* @Entity com.cyz.bean.Menu
*/
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> queryMenus();

    boolean addMenu(Menu menu);

    boolean updateMenu(Menu menu);

    boolean deleteMenu(Integer id);
}




